Skip to content

017 blockchain module split#6

Merged
timschwartz merged 5 commits intomainfrom
017-blockchain-module-split
Apr 13, 2026
Merged

017 blockchain module split#6
timschwartz merged 5 commits intomainfrom
017-blockchain-module-split

Conversation

@timschwartz
Copy link
Copy Markdown
Member

No description provided.

…ce, DifficultyEngine, and MerkleProofService
- Added ChainPersistence class for managing chunk storage and retrieval.
- Implemented save/load functionality for chunks, keys, streams, and stream indices.
- Introduced methods for chunk validation and recovery.
- Created DifficultyEngine class to calculate and adjust mining difficulty based on block timestamps.
- Added unit tests for ChainPersistence and DifficultyEngine to ensure functionality and correctness.
- Integrated MerkleProofService for generating and verifying Merkle proofs.
- Updated Blockchain class to utilize ChainPersistence and DifficultyEngine.
- Modified Makefile to include new source files and tests.
@timschwartz timschwartz merged commit 35260be into main Apr 13, 2026
4 checks passed
@timschwartz timschwartz deleted the 017-blockchain-module-split branch April 13, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant